//
//  YPShareAccountInfo.h
//  ChengHuiTong
//
//  Created by KiVen on 15/11/4.
//  Copyright © 2015年 张文权. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YPShareAccountInfo : NSObject<NSCoding>

@property (nonatomic,copy) NSString * token;
@property (nonatomic,copy) NSString * userName;
@property (nonatomic,copy) NSString * phone;
@property (nonatomic,copy) NSString * status;
@property (nonatomic,copy) NSString * avatar;
@property (nonatomic,copy) NSString * g_password;
@property (nonatomic,copy) NSString * g_status;
@property (nonatomic,strong)NSString*hostUrl;
@property (nonatomic,strong)NSNumber *msg_unread_count; //消息未读数

-(void)saveData;//用户信息保存本地
-(void)clearData;
+(instancetype)shareAccountInfo;

-(void)setDataWithDic:(NSDictionary *)dic;
@end
